package com.log.service;

import com.log.common.vo.ResultVo;
import com.log.pojo.LogCar;

/**
 * 车辆管理
 */


public interface LogCarService {

    //新增车辆
    public ResultVo insertCarInfo(LogCar logCar);

    //通过id查询车辆
    public ResultVo getCarInfoById(int id);

    //分页查询全部车辆
    public ResultVo getAllCarInfoByPage(int pageNum, int limit);

    //通过车辆状态(车辆状态：0维修,1可用，3报废，2工作中)分页查询车辆
    public ResultVo getAllCarInfoByPageAndStatus(int pageNum, int limit, int status);

    //修改车辆信息
    public ResultVo updateCarInfo(LogCar logCar);

}
